package com.supermarket.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Long id;
    private String username;
    private String password;
    private String phone;
    private Integer role;  // 0=普通用户, 1=管理员
    private Integer status; // 1=正常, 0=禁用
    private LocalDateTime createTime;
    private LocalDateTime  updateTime;
}
